﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace WebAppMatrix.DAL.Security
{
    public class MatrixModule : BaseRepository<Entity.Security.MatrixModule>
    {
        public MatrixModule(Data.MatrixData database) : base(database) { }

        public DataTable GetAllDataForTree()
        {
            string sentenceName = "MatrixModule_GetAllDataForTree";
            string sentence = Configuration.SqlConfigManager.GetSqlSentence(sentenceName);
            return Database.FetchDataTable(sentence);
        }
    }
}
